<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
		<script>
			"use strict"
			
			var obj = {
				firstName: "kobe",
				lastName: "bryant",
				get fullName(){
					return this.firstName + " " + this.lastName
				},
				set fullName(data){
					var names = data.split(" ")
					this.firstName = names[0]
					this.lastName = names[1]
				}
			}
			
			console.log(obj)
			obj.fullName = "f f"
			console.log(obj)
			
			
		</script>
	</body>
</html>
